package com.wanyang.pojo;

import org.nutz.dao.entity.annotation.*;

import java.util.Date;

/**
 * Created by zhai on 16/4/18.
 */
@Table("user")
public class User {

    @Id
    @Column("user_id")
    private Integer userId;

    @Column("username")
    private String username;

    @Column("password")
    private String password;

    @Column("head_img")
    private String headImg;

    @Column("create_time")
    private Date createTime;

    @Column("update_time")
    private Date updateTime;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
